Skip to content

Ping sensor, fixes #72#539

Draft
ewired wants to merge 1 commit into
corecoding:developfrom
ewired:ping-sensor
Draft

Ping sensor, fixes #72#539
ewired wants to merge 1 commit into
corecoding:developfrom
ewired:ping-sensor

Conversation

@ewired

@ewired ewired commented Apr 16, 2026

Copy link
Copy Markdown

Thoroughly tested ping sensor based on a ping subprocess. If your update interval is set to 3 seconds and a ping doesn't respond by the next interval, it will display 3000+ ms and end the subprocess early, otherwise falling back to the max ping timeout of 5 seconds which will display 5000+ ms. Upon error (no DNS resolution, invalid host, etc) it displays ?? ms. I wanted to make sure the user gets a chance to fully type the intended host before confirming, so the prefs may be a bit unique compared to other features. It is lacking a unique icon for the original icon set, I just copied the cloud icon. Tested on NixOS.

@ewired

ewired commented Jun 13, 2026

Copy link
Copy Markdown
Author

After many weeks of usage I found out that clicking to open the menu was causing it to report 5000+ ms even if it had not been 5 seconds since the last click without a ping response. I would rather it show the ms since the last ping attempt with a + in that case, taking to drafts until I get a chance to fix that.

@ewired ewired marked this pull request as draft June 13, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant